<template>
  <el-card class="at-item">
    <div class="user-info">
      <el-avatar size="large"></el-avatar>
      <div class="text">
        <div class="nickname">昵称</div>
        <div class="reply-time">回复时间</div>
      </div>
    </div>
    <div class="at-content">@了你：msg</div>
    <div class="title">帖子标题</div>
    <div class="footer">
      <div class="from">来自</div>
      <div class="reply">
        <i class="el-icon-chat-dot-square" style="margin-right: 5px"></i>回复
      </div>
    </div>
  </el-card>
</template>
  
  <script>
export default {};
</script>
  
  <style lang="less" scoped>
@import "@/assets/less/common.less";
.at-item {
  width: 550px;
  margin: 0 auto;
  margin-bottom: 20px;
}
.user-info {
  display: flex;
  .el-avatar {
    margin-right: 20px;
    height: 48px;
    width: 48px;
  }
  .text {
    font-size: 14px;
    line-height: 24px;
  }
}
.at-content {
  margin-top: 20px;
}
.title {
  background: #f5f7fa;
  color: @regularText;
  padding: 10px;
  margin-top: 20px;
  border-radius: 5px;
}
.footer {
  font-size: 14px;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  .reply {
    cursor: pointer;
  }
}
</style>